package com.ruoyi.web.controller.system;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.SysCompeScoringAssgin;
import com.ruoyi.system.service.ISysCompeScoringAssginService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Author 柳
 * @Date 2021/3/3
 * @Description TODO
 * 大赛作品评审
 */
@RestController
@RequestMapping("/system/compescoringassgin")
public class SysCompeScoringAssginController {
    @Autowired
    ISysCompeScoringAssginService iSysCompeScoringAssginService;


//    @GetMapping("/querySysCompeScoringAssginByUserId/{userId}")
//    @ApiOperation("传入评审员id查询所有该评审员有资格评审的作品和用户信息")
//    public AjaxResult querySysCompeScoringAssginByUserId(@PathVariable Integer userId) {
//        List<SysCompeScoringAssgin> sysCompeScoringAssginList = iSysCompeScoringAssginService.querySysCompeScoringAssginByUserId(userId);
//        return AjaxResult.success(sysCompeScoringAssginList);
//    }

}
